function Net = parseNetParam(Net)
if ~isfield(Net, 'name'), Net.name = ''; end
%%
split_str = ',';
hSplit = @(x) cellfun(@strtrim, strsplit(x, split_str), 'UniformOutput', false);

Net.startingParams = hSplit(Net.startingParams);
% Net.alias_names = hSplit(Net.alias_names);
Net.alias_names = cellfun(@(x)[Net.name '_' Net.startingNet '_' x], Net.startingParams, 'UniformOutput', false);
Net = rmfield(Net, 'startingParams');

Net.model_folders = hSplit(Net.model_folders);

if ~isfield(Net, 'model_iters')
    Net.model_iters = cell(1, length(Net.model_folders));
else
    Net.model_iters = hSplit(Net.model_iters);
    Net.model_iters = cellfun(@eval, Net.model_iters, 'UniformOutput', false);
end

if ~isfield(Net, 'model_prefix')
    Net.model_prefix = '';
end

% Net.name = [Net.startingNet '->' Net.name];

